/*
 * Copyright (c) 2024. hallele, Inc All rights reserved.
 */

package cn.hallele.demo.application.action.post;

import cn.hallele.demo.application.bo.PostBO;
import cn.hallele.demo.application.das.PostBDDas;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * hallele_ms_demo
 *
 * @author anle5
 * @since 2024/9/15 16:28
 */
@Slf4j
@Service
public class PostAppService {
    @Autowired
    private PostBDDas postBDDas;

    public List<PostBO> querySomebodyPosts(int id) {
        return postBDDas.querySomebodyPosts(id);
    }
}
